import request from '@/utils/request'

// 查询GdMerchantGrade列表
export function listGdMerchantGrade(query) {
    return request({
        url: '/api/v1/gdmerchantgrade',
        method: 'get',
        params: query
    })
}

// 查询GdMerchantGrade详细
export function getGdMerchantGrade (ID) {
    return request({
        url: '/api/v1/gdmerchantgrade/' + ID,
        method: 'get'
    })
}


// 新增GdMerchantGrade
export function addGdMerchantGrade(data) {
    return request({
        url: '/api/v1/gdmerchantgrade',
        method: 'post',
        data: data
    })
}

// 修改GdMerchantGrade
export function updateGdMerchantGrade(data) {
    return request({
        url: '/api/v1/gdmerchantgrade/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdMerchantGrade
export function delGdMerchantGrade(data) {
    return request({
        url: '/api/v1/gdmerchantgrade',
        method: 'delete',
        data: data
    })
}

